<%@ page language="java" pageEncoding="ISO-8859-1" import="java.util.*"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
    
    <title>comiofirforwarddetail.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  <link href="css/style1.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="main-out">
<div class="main">
<div class="page">
<div class="top">
<div class="header">
<div class="header-top">
<%@include file="TopHead.jsp" %>
</div>
<div class="topmenu">
<%@include file="TopMenu.jsp" %>
</div>
<div class="">
<img src="images/d3.gif">
</div>
</div>
<div class="content">
<div class="content-left">
<div class="row1">
<div class="img">&nbsp;</div>
<div class="welcome">
<h1 class="title">Welcome to POlice Seva<span></span></h1>
<p>




</p>



<html:form action="comiofirforwarddetail">
 		 <%
			HttpSession hs=request.getSession(true);
		    
		    ArrayList ar1=(ArrayList)request.getAttribute("AI");
		    ArrayList ar2=(ArrayList)request.getAttribute("AN");
		    ArrayList ar3=(ArrayList)request.getAttribute("CHN");
		    ArrayList ar4=(ArrayList)request.getAttribute("CL");
		    
		     ArrayList ar5=(ArrayList)request.getAttribute("CC");
		    ArrayList ar6=(ArrayList)request.getAttribute("CP");
		    ArrayList ar7=(ArrayList)request.getAttribute("CD");
		    ArrayList ar8=(ArrayList)request.getAttribute("CPC");
		    
		    ArrayList ar9=(ArrayList)request.getAttribute("CLN");
		    ArrayList ar10=(ArrayList)request.getAttribute("VIN");
		    ArrayList ar11=(ArrayList)request.getAttribute("PCN");
		    ArrayList ar12=(ArrayList)request.getAttribute("ACN");
		    
		    ArrayList ar13=(ArrayList)request.getAttribute("MN");
		    ArrayList ar14=(ArrayList)request.getAttribute("PH");
		    ArrayList ar15=(ArrayList)request.getAttribute("PS");
		    ArrayList ar16=(ArrayList)request.getAttribute("FI");
		    
		    ArrayList ar17=(ArrayList)request.getAttribute("ST");
		    ArrayList ar18=(ArrayList)request.getAttribute("AD");
		    ArrayList ar19=(ArrayList)request.getAttribute("ID");
		  
			
		 
		  %>
   <div align="center">
	<table border="1" width="100%">
	<%
	if(ar1 !=null)
   { 
   
    
   System.out.println(ar1.toString());
   %>
   		<tr >
			<td colspan="4"><html:submit value="Ongoing" property="comiofirforwardp"></html:submit>    </td>
	
		
			<td colspan="4"><html:submit value="Completed" property="comiofirforwardp"></html:submit>    </td>
		</tr>
		<tr>
			<td bgcolor="cyan" ><font color="green">CLICK HERE</font></td>
			<td bgcolor="cyan" ><font color="green">APPLIER ID</font></td>
			<td bgcolor="cyan"><font color="green">NAME</font></td>
			<td bgcolor="cyan"><font color="green">HOUSE NO</font></td>
			<td bgcolor="cyan"><font color="green">LANE</font></td>
			
			<td bgcolor="cyan" ><font color="green">CITY</font></td>
			<td bgcolor="cyan"><font color="green">POST OFFICE</font></td>
			<td bgcolor="cyan"><font color="green">DISTRICT</font></td>
			<td bgcolor="cyan"><font color="green">PINCODE</font></td>
			
			
			<td bgcolor="cyan" ><font color="green">LAND LINE</font></td>
			<td bgcolor="cyan"><font color="green">VOTER ID</font></td>
			<td bgcolor="cyan"><font color="green">PAN CARD</font></td>
			<td bgcolor="cyan"><font color="green">ADHAR CARD</font></td>
			
			
			<td bgcolor="cyan" ><font color="green">MOBILE NO</font></td>
			<td bgcolor="cyan"><font color="green">PHOTO</font></td>
			<td bgcolor="cyan"><font color="green">POLICE STATION</font></td>
			<td bgcolor="cyan"><font color="green">FIR ID</font></td>
			
			
			<td bgcolor="cyan" ><font color="green">STATUS</font></td>
			<td bgcolor="cyan"><font color="green">APPLY DATE</font></td>
			<td bgcolor="cyan"><font color="green">INCIDENT DATE</font></td>
			
		</tr>
		<%
		  
		    	  
		    	  
		    	  for(int i=0;i<ar1.size();i++)
		    	  {
		    	 	System.out.println("check "+ar1);
		    	%>
		    	 <tr>
		    <td width="10%" ><html:checkbox property="ck" value="<%=ar1.get(i).toString() %>"></html:checkbox> </td>
			<td><%=ar1.get(i) %></td>
			<td><%=ar2.get(i) %></td>
			<td><%=ar3.get(i) %></td>
			<td><%=ar4.get(i) %></td>
			
			<td><%=ar5.get(i) %></td>
			<td><%=ar6.get(i) %></td>
			<td><%=ar7.get(i) %></td>
			<td><%=ar8.get(i) %></td>
			
			<td><%=ar9.get(i) %></td>
			<td><%=ar10.get(i) %></td>
			<td><%=ar11.get(i) %></td>
			<td><%=ar12.get(i) %></td>
			
			<td><%=ar13.get(i) %></td>
			<td><%=ar14.get(i) %></td>
			<td><%=ar15.get(i) %></td>
			<td><%=ar16.get(i) %></td>
			
			<td><%=ar17.get(i)%></td>
			<td><%=ar18.get(i) %></td>
			<td><%=ar19.get(i) %></td>
			
		</tr>
		<%
		
		}
		}
		
		 %>
	</table>
</div>
</html:form> 
  





</div>
</div>
</div>

<!-- <div class="content-bottom">
 <%@include file="SideMenu.jsp" %>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>  -->

</div>
</div>
<div class="bottom">
<!--DO NOT Remove The Footer Links-->
<p><%@include file="Footer.jsp"  %><br>
<!--DO NOT Remove The Footer Links-->
</p>
</div>
</div>
</div>
</div>
</body>
</html:html>
